<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: sw::Rect结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('structsw_1_1_rect.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="structsw_1_1_rect-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">sw::Rect结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p>表示一个矩形区域  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_rect_8h_source.html">Rect.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa0d64010d4d2a3403312e9a7885a1d65" id="r_aa0d64010d4d2a3403312e9a7885a1d65"><td class="memItemLeft" align="right" valign="top"><a id="aa0d64010d4d2a3403312e9a7885a1d65" name="aa0d64010d4d2a3403312e9a7885a1d65"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Rect</b> (<a class="el" href="classsw_1_1_dictionary.html">double</a> <a class="el" href="#af6c8b62aa73047637c58d8cdf6c05aff">left</a>, <a class="el" href="classsw_1_1_dictionary.html">double</a> <a class="el" href="#adeb78de2f6a13f22d475605eb0e0e074">top</a>, <a class="el" href="classsw_1_1_dictionary.html">double</a> <a class="el" href="#ada69154ab3d734587ef9695b10144b01">width</a>, <a class="el" href="classsw_1_1_dictionary.html">double</a> <a class="el" href="#afb7a0a9a12dad7756f46b2e1abdafa7c">height</a>)</td></tr>
<tr class="separator:aa0d64010d4d2a3403312e9a7885a1d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1b5b335888c017996c9c79ac4cfc46" id="r_a5a1b5b335888c017996c9c79ac4cfc46"><td class="memItemLeft" align="right" valign="top"><a id="a5a1b5b335888c017996c9c79ac4cfc46" name="a5a1b5b335888c017996c9c79ac4cfc46"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Rect</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_dictionary.html">RECT</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">rect</a>)</td></tr>
<tr class="separator:a5a1b5b335888c017996c9c79ac4cfc46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00f6cca554c41a852326168f7ffaf8a5" id="r_a00f6cca554c41a852326168f7ffaf8a5"><td class="memItemLeft" align="right" valign="top"><a id="a00f6cca554c41a852326168f7ffaf8a5" name="a00f6cca554c41a852326168f7ffaf8a5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator RECT</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="separator:a00f6cca554c41a852326168f7ffaf8a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a105a785f29d18a7bcae761f42d9fc553" id="r_a105a785f29d18a7bcae761f42d9fc553"><td class="memItemLeft" align="right" valign="top"><a id="a105a785f29d18a7bcae761f42d9fc553" name="a105a785f29d18a7bcae761f42d9fc553"></a>
<a class="el" href="structsw_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetPos</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="separator:a105a785f29d18a7bcae761f42d9fc553"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93dcaabfcb0e106c540a03f74b21b52f" id="r_a93dcaabfcb0e106c540a03f74b21b52f"><td class="memItemLeft" align="right" valign="top"><a id="a93dcaabfcb0e106c540a03f74b21b52f" name="a93dcaabfcb0e106c540a03f74b21b52f"></a>
<a class="el" href="structsw_1_1_size.html">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetSize</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="separator:a93dcaabfcb0e106c540a03f74b21b52f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:af6c8b62aa73047637c58d8cdf6c05aff" id="r_af6c8b62aa73047637c58d8cdf6c05aff"><td class="memItemLeft" align="right" valign="top"><a id="af6c8b62aa73047637c58d8cdf6c05aff" name="af6c8b62aa73047637c58d8cdf6c05aff"></a>
<a class="el" href="classsw_1_1_dictionary.html">double</a>&#160;</td><td class="memItemRight" valign="bottom"><b>left</b></td></tr>
<tr class="memdesc:af6c8b62aa73047637c58d8cdf6c05aff"><td class="mdescLeft">&#160;</td><td class="mdescRight">左边 <br /></td></tr>
<tr class="separator:af6c8b62aa73047637c58d8cdf6c05aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeb78de2f6a13f22d475605eb0e0e074" id="r_adeb78de2f6a13f22d475605eb0e0e074"><td class="memItemLeft" align="right" valign="top"><a id="adeb78de2f6a13f22d475605eb0e0e074" name="adeb78de2f6a13f22d475605eb0e0e074"></a>
<a class="el" href="classsw_1_1_dictionary.html">double</a>&#160;</td><td class="memItemRight" valign="bottom"><b>top</b></td></tr>
<tr class="memdesc:adeb78de2f6a13f22d475605eb0e0e074"><td class="mdescLeft">&#160;</td><td class="mdescRight">顶边 <br /></td></tr>
<tr class="separator:adeb78de2f6a13f22d475605eb0e0e074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada69154ab3d734587ef9695b10144b01" id="r_ada69154ab3d734587ef9695b10144b01"><td class="memItemLeft" align="right" valign="top"><a id="ada69154ab3d734587ef9695b10144b01" name="ada69154ab3d734587ef9695b10144b01"></a>
<a class="el" href="classsw_1_1_dictionary.html">double</a>&#160;</td><td class="memItemRight" valign="bottom"><b>width</b></td></tr>
<tr class="memdesc:ada69154ab3d734587ef9695b10144b01"><td class="mdescLeft">&#160;</td><td class="mdescRight">宽度 <br /></td></tr>
<tr class="separator:ada69154ab3d734587ef9695b10144b01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb7a0a9a12dad7756f46b2e1abdafa7c" id="r_afb7a0a9a12dad7756f46b2e1abdafa7c"><td class="memItemLeft" align="right" valign="top"><a id="afb7a0a9a12dad7756f46b2e1abdafa7c" name="afb7a0a9a12dad7756f46b2e1abdafa7c"></a>
<a class="el" href="classsw_1_1_dictionary.html">double</a>&#160;</td><td class="memItemRight" valign="bottom"><b>height</b></td></tr>
<tr class="memdesc:afb7a0a9a12dad7756f46b2e1abdafa7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">高度 <br /></td></tr>
<tr class="separator:afb7a0a9a12dad7756f46b2e1abdafa7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a4fa1ffec0624b6b7a8b5acb6b201eeaa" id="r_a4fa1ffec0624b6b7a8b5acb6b201eeaa"><td class="memItemLeft" align="right" valign="top"><a id="a4fa1ffec0624b6b7a8b5acb6b201eeaa" name="a4fa1ffec0624b6b7a8b5acb6b201eeaa"></a>
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_rect.html">Rect</a> &amp;<a class="el" href="#af6c8b62aa73047637c58d8cdf6c05aff">left</a>, <a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_rect.html">Rect</a> &amp;right)</td></tr>
<tr class="separator:a4fa1ffec0624b6b7a8b5acb6b201eeaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e88e9274a97afa04df75e678e1d881f" id="r_a0e88e9274a97afa04df75e678e1d881f"><td class="memItemLeft" align="right" valign="top"><a id="a0e88e9274a97afa04df75e678e1d881f" name="a0e88e9274a97afa04df75e678e1d881f"></a>
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_rect.html">Rect</a> &amp;<a class="el" href="#af6c8b62aa73047637c58d8cdf6c05aff">left</a>, <a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_rect.html">Rect</a> &amp;right)</td></tr>
<tr class="separator:a0e88e9274a97afa04df75e678e1d881f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62523a944c32095c472293a7b33c95f4" id="r_a62523a944c32095c472293a7b33c95f4"><td class="memItemLeft" align="right" valign="top"><a id="a62523a944c32095c472293a7b33c95f4" name="a62523a944c32095c472293a7b33c95f4"></a>
std::wostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::wostream &amp;<a class="el" href="classsw_1_1_dictionary.html">wos</a>, <a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_rect.html">Rect</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">rect</a>)</td></tr>
<tr class="separator:a62523a944c32095c472293a7b33c95f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>表示一个矩形区域 </p>
</div><hr/>该结构体的文档由以下文件生成:<ul>
<li><a class="el" href="_rect_8h_source.html">Rect.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>sw</b></li><li class="navelem"><a class="el" href="structsw_1_1_rect.html">Rect</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
